<template>
    <div class="cs-page-container">
        <div class="cs-filter-container">
            <el-upload
            class="upload-demo"
            ref="upload"
            action="/console/api/upload/products"
            accept="zip"
            :auto-upload="true">
            <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
            <div slot="tip" class="el-upload__tip">只能上传zip文件(压缩的时候直接选中产品文件夹添加到zip,而不是直接压缩产品文件夹的上一级文件夹,,,)</div>
            </el-upload>
        </div>
        <auto-page givenPageId="5003"></auto-page>
    </div>
</template>

<script>

import AutoPage from '@views/auto-page'

export default {

    components: {AutoPage},
    data() {
        return {
        }
    },
    methods: {
    }

}
</script>
